package design_mode.observer;

public class WeixinUser implements Observer{

    private String name;
    public WeixinUser(String name){
        this.name = name;
    }
    @Override
    public void update(String msg) {
        System.out.println(name + "=====>" + msg);

    }
}
